package Zuoye0728;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Computertest {
    public static void main(String[] args) {
        ApplicationContext app=new ClassPathXmlApplicationContext("Z*.xml");
        Computer a = app.getBean("c", Computer.class);
        a.kaiqi();
    }
}
